const express = require('express')
const router = express.Router();
const axios = require('../../axios')
const { scanCodeLoginUrlMap } = require('../../api.js')

router.post('/', async (req, res) => {
    console.log('22', req)
    const data = await axios.post(scanCodeLoginUrlMap.uamauthclient, {
        params: {
          ...req.query
        }
    })
    res.json(data)
})



module.exports = router

